package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_MED_INSTOCK database table.
 * 
 */
@Entity
@Table(name="YZR_MED_INSTOCK")
@NamedQuery(name="YzrMedInstock.findAll", query="SELECT y FROM YzrMedInstock y")
public class YzrMedInstock implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="MED_INSTOCK_ID")
	private String medInstockId;

	@Column(name="MED_INSTOCK_BROKERAGE")
	private BigDecimal medInstockBrokerage;

	@Column(name="MED_INSTOCK_KIND")
	private String medInstockKind;

	@Column(name="MED_INSTOCK_PURCH_ORDER_ID")
	private String medInstockPurchOrderId;

	@Column(name="MED_INSTOCK_STORE_NAME")
	private String medInstockStoreName;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	@Column(name="MED_INSTOCK_TIME")
	private Date medInstockTime;

	public YzrMedInstock() {
	}

	public String getMedInstockId() {
		return this.medInstockId;
	}

	public void setMedInstockId(String medInstockId) {
		this.medInstockId = medInstockId;
	}

	public BigDecimal getMedInstockBrokerage() {
		return this.medInstockBrokerage;
	}

	public void setMedInstockBrokerage(BigDecimal medInstockBrokerage) {
		this.medInstockBrokerage = medInstockBrokerage;
	}

	public String getMedInstockKind() {
		return this.medInstockKind;
	}

	public void setMedInstockKind(String medInstockKind) {
		this.medInstockKind = medInstockKind;
	}

	public String getMedInstockPurchOrderId() {
		return this.medInstockPurchOrderId;
	}

	public void setMedInstockPurchOrderId(String medInstockPurchOrderId) {
		this.medInstockPurchOrderId = medInstockPurchOrderId;
	}

	public String getMedInstockStoreName() {
		return this.medInstockStoreName;
	}

	public void setMedInstockStoreName(String medInstockStoreName) {
		this.medInstockStoreName = medInstockStoreName;
	}

	public Date getMedInstockTime() {
		return this.medInstockTime;
	}

	public void setMedInstockTime(Date medInstockTime) {
		this.medInstockTime = medInstockTime;
	}

}